#if !defined(AFX_PAGE1_H__2175F308_2590_42A3_849C_730BE02CEE9B__INCLUDED_)
#define AFX_PAGE1_H__2175F308_2590_42A3_849C_730BE02CEE9B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page1.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPage1 dialog

class CPage1 : public CDialog
{
// Construction
public:
	long GetBaund();
	CPage1(CWnd* pParent = NULL);   // standard constructor

	long m_baund;
	HANDLE icdev;



	//int		m_Port

// Dialog Data
	//{{AFX_DATA(CPage1)
	enum { IDD = IDD_DIALOG1 };
	CComboBox	m_BaundCtl;
	CStatic	m_Status;
	int		m_Tlast;
	CString	m_Hwver;
	CString	m_Proder;
	int		m_Port;
	CString	m_Dated;
	CString	m_Datem;
	CString	m_Timeh;
	CString	m_Timem;
	CString	m_Times;
	int		m_Bright;
	CString	m_Datey;
	int		m_Dtime;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPage1)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	virtual BOOL OnInitDialog();
	
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPage1)
	afx_msg void OnButtonConnect();
	afx_msg void OnButtonDisconnect();
	afx_msg void OnButtonBeep();
	afx_msg void OnRefrest();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRadiodt1();
	afx_msg void OnRadiodt2();
	afx_msg void OnRADIODtime0();
	afx_msg void OnRADIODtime1();
	afx_msg void OnRadiocom3();
	afx_msg void OnRadiocom4();
	afx_msg void OnRadiocom2();
	afx_msg void OnSetfocusEditlastTime();
	afx_msg void OnSetfocusEditBright();
	afx_msg void OnRadiocom1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PAGE1_H__2175F308_2590_42A3_849C_730BE02CEE9B__INCLUDED_)
